package com.yun.zhong.fu.usercenter.dao;

import com.yun.zhong.fu.usercenter.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface UserDao {
    User getById(Integer id);

    int insert(User user);

    void updateByPrimaryKeySelective(User user);

    User selectOneData(@Param("user") User user);
}